package hcn.protocol.base.hisPlateform;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by ChenJij on 2021/3/3.
 */
@XmlRootElement(name = "Patient")
public class BaseHisPlateformPatientXmlRequest {
    //患者ID号,必填
    private String sourcePatientId;
    //就诊流水号,必填
    private String sourceVisitId;
    //门诊号码
    private String clinicId;
    //住院号码
    private String hospizationId;
    //患者类型
    //本次档案的类别，结合档案号确保院内档案的唯一。
    //OV:门诊档案 IV:住院档案HV:体检档案 XV:其他档案
    //当为非患者闭环时可为空，如高值耗材闭环，必填
    private String sourcePatientIdType;
    //建档机构代码，必填
    private String authorOrganization;
    //患者姓名，必填
    private String name;

    @XmlElement(name = "SourcePatientId")
    public String getSourcePatientId() {
        return sourcePatientId;
    }

    public void setSourcePatientId(String sourcePatientId) {
        this.sourcePatientId = sourcePatientId;
    }

    @XmlElement(name = "SourceVisitId")
    public String getSourceVisitId() {
        return sourceVisitId;
    }

    public void setSourceVisitId(String sourceVisitId) {
        this.sourceVisitId = sourceVisitId;
    }

    @XmlElement(name = "ClinicId")
    public String getClinicId() {
        return clinicId;
    }

    public void setClinicId(String clinicId) {
        this.clinicId = clinicId;
    }

    @XmlElement(name = "HospizationId")
    public String getHospizationId() {
        return hospizationId;
    }

    public void setHospizationId(String hospizationId) {
        this.hospizationId = hospizationId;
    }

    @XmlElement(name = "SourcePatientIdType")
    public String getSourcePatientIdType() {
        return sourcePatientIdType;
    }

    public void setSourcePatientIdType(String sourcePatientIdType) {
        this.sourcePatientIdType = sourcePatientIdType;
    }

    @XmlElement(name = "AuthorOrganization")
    public String getAuthorOrganization() {
        return authorOrganization;
    }

    public void setAuthorOrganization(String authorOrganization) {
        this.authorOrganization = authorOrganization;
    }

    @XmlElement(name = "Name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}